package com.base.framework.admin.domain;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.IdType;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 *
 * InnoDB free: 14336 kB
 *
 */
@TableName("sys_resources")
public class Resources implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/** ID */
	@TableId(type = IdType.AUTO)
	private Long id;

	/** 资源编码 */
	@TableField(value = "resources_code")
	private String resourcesCode;

	/** 资源编码 */
	@TableField(value = "parent_code")
	private String parentCode;

	/** 资源名称 */
	@TableField(value = "resources_name")
	private String resourcesName;

	/** 资源排序 */
	@TableField(value = "resources_sort")
	private Integer resourcesSort;

	/** 资源链接 */
	@TableField(value = "resources_href")
	private String resourcesHref;

	/** 资源图标 */
	@TableField(value = "resources_icon")
	private String resourcesIcon;

	/** 资源级别:1菜单 2按钮 */
	@TableField(value = "resources_level")
	private String resourcesLevel;

	/** 按钮权限标识 */
	private String permission;

	/** 创建时间 */
	@TableField(value = "create_time")
	private Date createTime;

	/** 创建人 */
	@TableField(value = "create_user_id")
	private Long createUserId;


	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getResourcesCode() {
		return this.resourcesCode;
	}

	public void setResourcesCode(String resourcesCode) {
		this.resourcesCode = resourcesCode;
	}

	public String getParentCode() {
		return this.parentCode;
	}

	public void setParentCode(String parentCode) {
		this.parentCode = parentCode;
	}

	public String getResourcesName() {
		return this.resourcesName;
	}

	public void setResourcesName(String resourcesName) {
		this.resourcesName = resourcesName;
	}

	public Integer getResourcesSort() {
		return this.resourcesSort;
	}

	public void setResourcesSort(Integer resourcesSort) {
		this.resourcesSort = resourcesSort;
	}

	public String getResourcesHref() {
		return this.resourcesHref;
	}

	public void setResourcesHref(String resourcesHref) {
		this.resourcesHref = resourcesHref;
	}

	public String getResourcesIcon() {
		return this.resourcesIcon;
	}

	public void setResourcesIcon(String resourcesIcon) {
		this.resourcesIcon = resourcesIcon;
	}

	public String getResourcesLevel() {
		return this.resourcesLevel;
	}

	public void setResourcesLevel(String resourcesLevel) {
		this.resourcesLevel = resourcesLevel;
	}

	public String getPermission() {
		return this.permission;
	}

	public void setPermission(String permission) {
		this.permission = permission;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Long getCreateUserId() {
		return this.createUserId;
	}

	public void setCreateUserId(Long createUserId) {
		this.createUserId = createUserId;
	}

}
